<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 vector-feature-night-mode-enabled skin-theme-clientpref-os vector-sticky-header-enabled" lang="fr" dir="ltr"><head>
<meta charset="UTF-8">
<title>GNU Readline</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://fr.wikipedia.org/wiki/GNU_Readline"> <link href="./_mw_/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-GNU_Readline rootpage-GNU_Readline skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">GNU Readline</span></h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="fr" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr">
<div class="infobox_v3 infobox infobox--frwiki noarchive" style="width:260px">
<div class="entete icon informatique" style="color: #000000;"><style data-mw-deduplicate="TemplateStyles:r228712691">
/* start https://fr.wikipedia.org/ */
.mw-parser-output .entete.informatique{background-image:url("./_mw_/Picto.nfo.png")}
/* end https://fr.wikipedia.org/ */
</style>
<div>GNU Readline</div>
</div>
<div class="images">
</div>
<p class="mw-empty-elt">
</p>
<table><caption style="color:#000000;">Informations</caption>
<tbody><tr>
<th scope="row">Créateur</th>
<td>
<span class="wd_p170">Brian Fox <small>(<a href="https://en.wikipedia.org/wiki/Brian_Fox_(programmer)" class="extiw external" title="en:Brian Fox (programmer)"><span class="indicateur-langue" title="Article sur Wikipédia en anglais">en</span></a>)</small></span></td>
</tr>
<tr>
<th scope="row"><a href="D%C3%A9veloppeur" title="Développeur">Développé par</a></th>
<td>
<a href="Projet_GNU" title="Projet GNU">Projet GNU</a></td>
</tr>
<tr>
<th scope="row"> <a href="Version_d'un_logiciel" title="Version d'un logiciel">Dernière version</a>
</th>
<td>
<span class="wd_p348">8.3 (<time class="nowrap" datetime="2025-07-03" data-sort-value="2025-07-03">3 juillet 2025</time>)<sup id="cite_ref-wikidata-3808474191b80db0f101d2de7d6d136e6d463d75_1-0" class="reference"><a href="#cite_note-wikidata-3808474191b80db0f101d2de7d6d136e6d463d75-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></span></td>
</tr>
<tr>
<th scope="row"> <a href="Version_d'un_logiciel" title="Version d'un logiciel">Version avancée</a>
</th>
<td>
<span class="wd_p348">8.3-alpha (<time class="nowrap" datetime="2024-04-22" data-sort-value="2024-04-22">22 avril 2024</time>)<sup id="cite_ref-wikidata-2a6622404dca57576083bf4ed9c34d1a4949de8c_2-0" class="reference"><a href="#cite_note-wikidata-2a6622404dca57576083bf4ed9c34d1a4949de8c-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup></span></td>
</tr>
<tr>
<th scope="row"><a href="D%C3%A9p%C3%B4t_(informatique)" title="Dépôt (informatique)">Dépôt</a></th>
<td>
<span class="wd_p1324"><a rel="nofollow" class="external text" href="https://git.savannah.gnu.org/cgit/readline.git">git.savannah.gnu.org/cgit/readline.git</a></span></td>
</tr>
<tr>
<th scope="row"> <a href="Langage_de_programmation" title="Langage de programmation">Écrit en</a>
</th>
<td>
<a href="C_(langage)" title="C (langage)">C</a></td>
</tr>
<tr>
<th scope="row"><a href="Syst%C3%A8me_d'exploitation" title="Système d'exploitation">Système d'exploitation</a></th>
<td>
<span class="wd_p306"><a href="Linux" title="Linux">GNU/Linux</a>, <a href="Berkeley_Software_Distribution" title="Berkeley Software Distribution">BSD</a>, <a href="MacOS" title="MacOS">macOS</a> et <a href="Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a></span></td>
</tr>
<tr>
<th scope="row"> Type
</th>
<td>
<a href="Biblioth%C3%A8que_logicielle" title="Bibliothèque logicielle">Bibliothèque logicielle</a></td>
</tr>
<tr>
<th scope="row"><a href="Licence_de_logiciel" title="Licence de logiciel">Licence</a></th>
<td>
<a href="GNU_GPL" class="mw-redirect" title="GNU GPL">GNU GPL</a></td>
</tr>
<tr>
<th scope="row"><a href="Site_web" title="Site web">Site web</a></th>
<td>
<span class="wd_p856"><a rel="nofollow" class="external text" href="https://www.gnu.org/software/readline/">www.gnu.org/software/readline</a></span></td>
</tr>
</tbody></table>
<p class="mw-empty-elt">
</p>
</div>
<p><b>GNU Readline</b> est une <a href="Biblioth%C3%A8que_logicielle" title="Bibliothèque logicielle">bibliothèque logicielle</a> conférant aux <a href="Interface_en_ligne_de_commande" title="Interface en ligne de commande">interfaces en ligne de commande</a> les fonctionnalités d'édition et d'historique. C'est un <a href="Logiciel_libre" title="Logiciel libre">logiciel libre</a> maintenu pour le <a href="Projet_GNU" title="Projet GNU">projet GNU</a> par <i>Chet Ramey</i>, le <a href="Mainteneur" title="Mainteneur">mainteneur</a> de <a href="GNU_Bash" class="mw-redirect" title="GNU Bash">GNU Bash</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Caractéristiques_techniques"><span id="Caract.C3.A9ristiques_techniques"></span>Caractéristiques techniques</h2></div>
<p>L'édition des commandes est similaire à celle des éditeurs de texte <a href="GNU_Emacs" title="GNU Emacs">GNU Emacs</a> ou <a href="Vi" title="Vi">vi</a>. Les <a href="Raccourci_clavier" title="Raccourci clavier">raccourcis clavier</a> sont cependant par défaut inspirés d'emacs, mais peuvent être personnalisés.
</p><p>La gestion de l'historique des commandes précédemment entrées par l'utilisateur et la gestion interactive des entrées en ligne de commande<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>note 1<span class="cite-bracket">]</span></a></sup> sont des caractéristiques distribuées dans une bibliothèque intégrée à GNU Readline ou disponible séparément, dans une bibliothèque dédiée à l'historique.
</p>
<div class="mw-heading mw-heading2"><h2 id="Modes_d'éditions"><span id="Modes_d.27.C3.A9ditions"></span>Modes d'éditions</h2></div>
<p><i>Libreadline</i> peut utiliser les raccourcis clavier du mode d'édition <a href="Emacs" title="Emacs">Emacs</a> (par défaut dans un terminal), ou <a href="Vi" title="Vi">vi</a>.
</p><p>Parmi ses raccourcis clavier, le mode emacs permet de se déplacer dans le terminal plus rapidement, (<code>alt-f</code>/<code>alt-b</code><sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> = 1 mot en avant/arrière, <code>ctrl-a</code>/<code>ctrl-e</code> début/fin de ligne), d'échanger des caractères <code>ctrl-t</code> (échange avec le caractère courant avec le précédent) et de copier/coller du texte surligné, à la souris par exemple, ou déjà dans le tampon (<code>ctrl-shift-c</code>/<code>ctrl-shift-v</code> = copier/coller). Il est possible de rechercher dans l'historique grâce au raccourci <code>ctrl-r</code>, dans ce cas, le texte présent sur la ligne courante sera cherché en premier.
</p>
<div class="mw-heading mw-heading2"><h2 id="Notes_et_références"><span id="Notes_et_r.C3.A9f.C3.A9rences"></span>Notes et références</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Notes">Notes</h3></div>
<div class="references-small decimal" style=""><div class="mw-references-wrap"><ol class="references" data-mw-group="note">
<li id="cite_note-3"><span class="mw-cite-backlink"><a href="#cite_ref-3">↑</a> </span><span class="reference-text">Gestion interactive similaire à <a href="Csh" class="mw-redirect" title="Csh">csh</a>.</span>
</li>
</ol></div>
</div>
<div class="mw-heading mw-heading3"><h3 id="Références"><span id="R.C3.A9f.C3.A9rences"></span>Références</h3></div>
<div class="references-small decimal" style=""><div class="mw-references-wrap"><ol class="references">
<li id="cite_note-wikidata-3808474191b80db0f101d2de7d6d136e6d463d75-1"><span class="mw-cite-backlink"><a href="#cite_ref-wikidata-3808474191b80db0f101d2de7d6d136e6d463d75_1-0">↑</a> </span><span class="reference-text"><span class="ouvrage" id="class_=_"indicateur-langue"_title_=_"Voir_l'élément_Wikidata_correspondant">d"><span class="ouvrage" id="d"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> Chet Ramey <small>(<a href="https://www.wikidata.org/wiki/Q5414013" class="extiw external" title="d:Q5414013"><span class="indicateur-langue" title="Voir l'élément Wikidata correspondant">d</span></a>)</small>, « <a rel="nofollow" class="external text" href="https://lists.gnu.org/archive/html/bug-bash/2025-07/msg00006.html"><cite style="font-style:normal;" lang="en"><span class="lang-en" lang="en">Readline-8.3-release available</span></cite></a> », <time class="nowrap" datetime="2025-07-05" data-sort-value="2025-07-05">5 juillet 2025</time> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2025-07-05" data-sort-value="2025-07-05">5 juillet 2025</time>)</small></span></span></span>
</li>
<li id="cite_note-wikidata-2a6622404dca57576083bf4ed9c34d1a4949de8c-2"><span class="mw-cite-backlink"><a href="#cite_ref-wikidata-2a6622404dca57576083bf4ed9c34d1a4949de8c_2-0">↑</a> </span><span class="reference-text"><span class="ouvrage">« <a rel="nofollow" class="external text" href="https://git.savannah.gnu.org/cgit/readline.git/tag/?h=readline-8.3-alpha"><cite style="font-style:normal;"><span class="lang-en" lang="en">readline.git - The GNU Readline library</span></cite></a> » <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2024-08-07" data-sort-value="2024-08-07">7 août 2024</time>)</small></span></span>
</li>
<li id="cite_note-4"><span class="mw-cite-backlink"><a href="#cite_ref-4">↑</a> </span><span class="reference-text">alt est la touche par défaut du raccourcit « <i>meta</i> », cela peut dépendre de la configuration du système</span>
</li>
</ol></div>
</div>
<div class="mw-heading mw-heading2"><h2 id="Liens_externes">Liens externes</h2></div>
<ul><li><cite class="ouvrage" id="site_officiel" style="font-style: normal;"><span class="wd_p856"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="https://www.gnu.org/software/readline/">Site officiel</a></span></cite></li></ul>
<p><br>
</p>
<ul id="bandeau-portail" class="bandeau-portail"><li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail des logiciels libres</span> </span></li> </ul></div><!--htdig_noindex--><div><div class="zim-footer">
Cet article est issu de <a class="external text" title="Dernière modification le 2019-08-23" href="https://fr.wikipedia.org/wiki/?title=GNU_Readline&oldid=162040776">Wikipédia</a>. Sauf mention contraire, le texte est disponible sous <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">Creative Commons Attribution-Share Alike 4.0</a>. Des conditions supplémentaires peuvent s’appliquer aux fichiers multimédias.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>
</body></html>